<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>动态import</title>
</head>

<body>
  <button id="btn">点击</button>

  <script src="./js/app.js" type="module"></script>
</body>

</html>